<!--  -->
<template>
  <div>
    <el-empty description="页面不存在">
      <el-button type="warning" @click="toHome">返回首页</el-button>
    </el-empty>
  </div>
</template>

<script>
import { defineComponent } from 'vue'
import { useRouter } from 'vue-router'
export default defineComponent({
  setup() {
    const router = useRouter()
    const toHome = () => {
      router.push('/login')
    }
    return { toHome }
  }
})
</script>
<style lang="less" scoped></style>
